package com.chengqj.repository;

import com.chengqj.dao.OrderDO;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Copyright © 2020年 com.qxkj. All rights reserved.
 *
 * @author chengqj
 * TODO: 为了共建和谐社会，请为该类写点注释吧...
 * version 1.0.0 (接口必须带上)
 * @date 2020/11/6 15:24
 */
public interface OrderRepository extends MongoRepository<OrderDO, ObjectId> {
    OrderDO findByUserId(Long userId);
}
